
<fieldset class="form-fieldset">
		<legend>Ticketdetails</legend>
			<p><a href="uebersicht">Zur&uuml;ck</a></p>
						<table>
							<tr>
								<th>Attribut</th>
								<th>Wert</th>
							</tr>
							<?php 	
							$ticketNr = $this->detail->getNr();
							$dauer = $this->detail->getDauer();
							$preis = $this->detail->getPreis();
							$ticketName = $this->detail->getName();
							$verfuegbar_ab = date('d.m.Y', strtotime($this->detail->getVerfuegbar_ab()));
							$verfuegbar_bis = date('d.m.Y', strtotime($this->detail->getVerfuegbar_bis()));
							$gueltig_ab = date('d.m.Y', strtotime($this->detail->getGueltig_ab()));
							$gueltig_bis = date('d.m.Y', strtotime($this->detail->getGueltig_bis()));
							if($this->detail->getTicketart() == '1') {
								$ticketArt = 'fester Zeitraum';
							} else {
								$ticketArt = 'feste Dauer';
							}
							$dauer = $this->detail->getDauer();
							print <<<HTML
							
							<tr  class="odd">
								<td> ID </td>
								<td>{$ticketNr}</td>
							</tr>
							<tr  class="even">
								<td> Name </td>
								<td>{$ticketName}</td>
							</tr>
							<tr  class="odd">
								<td> Preis</td>
								<td>{$preis}€</td>
							</tr>
							<tr  class="even">
								<td> verfügbar ab </td>
								<td>{$verfuegbar_ab}</td>
							</tr>
							<tr  class="odd">
								<td> verfügbar bis</td>
								<td>{$verfuegbar_bis}</td>
							</tr>
							<tr  class="even">
								<td> gültig ab </td>
								<td>{$gueltig_ab}</td>
							</tr>
							<tr  class="odd">
								<td> gültig bis </td>
								<td>{$gueltig_bis}</td>
							</tr>
							<tr  class="even">
								<td> Ticketart </td>
								<td>{$ticketArt}</td>
							</tr>
							<tr  class="odd">
								<td> Dauer in Tagen </td>
								<td>{$dauer}</td>
							</tr>
HTML;
							/*}*/?>
				</table>
</fieldset>